package com.kl.modular.generate.model;

/**
 * 表信息
 * 
 * @author zjb
 * @date 2015-4-3
 */

@SuppressWarnings("serial")
public class Column implements java.io.Serializable {
	// 表名
	private String tableName;
	// 字段Key
	private String columnKey;
	// 列名
	private String columnName;
	// 数据类型
	private String dataType;
	// 字符长度
	private String characterMaximumLength;
	// 数字长度
	private int numericPrecision;
	// 小数长度
	private int numericCcale;
	// 是否允许非空
	private String isNullable;
	// 是否自增
	private int isIncrement;
	// 默认值
	private String columnDefault;
	// 注释
	private String columnComment;
	// 实体类名
	private String propertyName;
	// 数据类型
	private String propertyDataType;
	// get set 方法名
	private String gsPropertyName;

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getCharacterMaximumLength() {
		return characterMaximumLength;
	}

	public void setCharacterMaximumLength(String characterMaximumLength) {
		this.characterMaximumLength = characterMaximumLength;
	}

	public int getNumericPrecision() {
		return numericPrecision;
	}

	public void setNumericPrecision(int numericPrecision) {
		this.numericPrecision = numericPrecision;
	}

	public int getNumericCcale() {
		return numericCcale;
	}

	public void setNumericCcale(int numericCcale) {
		this.numericCcale = numericCcale;
	}

	public String getIsNullable() {
		return isNullable;
	}

	public void setIsNullable(String isNullable) {
		this.isNullable = isNullable;
	}

	public int getIsIncrement() {
		return isIncrement;
	}

	public void setIsIncrement(int isIncrement) {
		this.isIncrement = isIncrement;
	}

	public String getColumnDefault() {
		return columnDefault;
	}

	public void setColumnDefault(String columnDefault) {
		this.columnDefault = columnDefault;
	}

	public String getColumnComment() {
		return columnComment;
	}

	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}

	public String getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(String columnKey) {
		this.columnKey = columnKey;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	public String getGsPropertyName() {
		return gsPropertyName;
	}

	public void setGsPropertyName(String gsPropertyName) {
		this.gsPropertyName = gsPropertyName;
	}

	public String getPropertyDataType() {
		return propertyDataType;
	}

	public void setPropertyDataType(String propertyDataType) {
		this.propertyDataType = propertyDataType;
	}
}
